package com.cnap.model.schedule;

import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 扩所容策略dto
 *
 * @author xc
 **/
public class ScaleStrategyDTO {
    // 服务id
    @ApiModelProperty(value = "服务id")
    @NotNull(message = "服务id不能为空")
    private String serviceId;
    @ApiModelProperty(value = "策略信息")
    private List<StrategyDTO> strategys;

    /**
     * get
     *
     * @return ServiceId
     */
    public String getServiceId() {
        return serviceId;
    }

    /**
     * set
     *
     * @param serviceId serviceId
     */
    public void setServiceId(String serviceId) {
        this.serviceId = serviceId;
    }

    /**
     * get
     *
     * @return Strategys
     */
    public List<StrategyDTO> getStrategys() {
        return strategys;
    }

    /**
     * set
     *
     * @param strategys strategys
     */
    public void setStrategys(List<StrategyDTO> strategys) {
        this.strategys = strategys;
    }
}
